package com.mianyang.zhangsan.plugin.mail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author jiangjr
 * @date 2022-10-26
 */
@Data
@Builder
@ApiModel("邮件")
public class Mail {
    @ApiModelProperty("主题")
    private String subject;

    @ApiModelProperty("接收者")
    private String[] receive;

    @ApiModelProperty("发送者")
    private String sender;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("附件")
    private MultipartFile[] attachments;

}
